//
//  ApiConstant.m
//  WisdomStar
//
//  Created by 谭飞 on 2018/11/2.
//  Copyright © 2018年 zhangliwen. All rights reserved.
//  接口地址

#import "ApiConstant.h"

#pragma mark - 用户

// 用户登录
NSString * const LoginApi = @"/api/index/login";

// 用户注册
NSString * const RegistApi = @"/api/index/register";

// 发送短信
NSString * const SendMessageApi = @"/api/index/send_message";

// 手机号验证（修改密码时）
NSString * const CheckPhoneApi = @"/api/student/check_phone";

// 修改密码
NSString * const ChangePwdApi = @"/api/student/modify_pwd";

// 找回密码
NSString * const FindPwdApi = @"/api/index/forget_password";

#pragma mark - 生活资讯

// 资讯首页
NSString * const ArticleIndexApi = @"/api/article/index";

// 资讯分页数据
NSString * const ArticleListApi = @"/api/article/get_list";

// 资讯详情
NSString * const ArticleDetailApi = @"/api/article/detail";

// 文章评论
NSString * const ArticleCommentApi = @"/api/article/add_msg";

// 点赞
NSString * const ArticleLikeApi = @"/api/article/zan";

